home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 2: CDPD 1 / Almathera Ten on Ten - Disc 2: CDPD 1.iso / pd / 576-600 / 581 / prism / source / source.lzh / mx.c < prev    next >
C/C++ Source or Header  |  1991-11-28  |  331b  |  11 lines

  1. /* little routine to select only one gadget out of three SLB 11/28/91 */
  2. GadMXSel(win,gad1,gad2,gad3,lowgad)
  3. struct Window *win;
  4. struct Gadget *gad1,*gad2,*gad3,*lowgad;
  5. {
  6. gad1->Flags |= SELECTED;    /* this one is selected */
  7. gad2->Flags &= ~SELECTED;    /* these two aren't */
  8. gad3->Flags &= ~SELECTED;
  9. RefreshGadgets(lowgad,win,0);
  10. }
  11.